package com.loongnoy.service.impl;


import com.loongnoy.entity.Point;
import com.loongnoy.mapper.PointMapper;
import com.loongnoy.service.PointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.concurrent.atomic.AtomicLong;


@Service
public class PointServiceImpl implements PointService {

    @Autowired
    private PointMapper pointMapper;

    @Override
    public Point save(Point point) {
        pointMapper.insert(point);
        return point;
    }
}
